﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AncientLand.Service.Entity;

namespace AncientLand.Service.IDa
{
   public interface IPhotosRepository : IRepository<Photos>
    {
       IEnumerable<WeddingPhoto> GetWeddingPhotosByPages(int pageIndex, int pageSize, string orderFiled, out int totalRecord);

       IEnumerable<PictorialPhoto> GetPictorialPhotoByPages(int pageIndex, int pageSize, string orderFiled, out int totalRecord);

       IEnumerable<Photos> GetItemsByPagesForHomePage(int pageIndex, int pageSize);
       IEnumerable<Photos> GetItemsByPagesForHomePage(out int totalRecord,int pageIndex, int pageSize);
    }
}
